package com.hotdog.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.scheduling.annotation.Async;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 对用户访问会员视频页面日志进行记录
 * @author 郭鲁政
 */
@FeignClient(name = "system",contextId = "logsFeignClient")
public interface LogsFeignClient {
    @Async
    @GetMapping("/log/insertLogInfo/{username}/{resourcesAccessed}")
     void logs(@PathVariable(name = "username")String username,@PathVariable(name = "resourcesAccessed")String resourcesAccessed);
}
